﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="SequenceSplitterControl" Namespace="Controls" TagPrefix="ss" %>

<script type="text/javascript">

</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div>            
        
            <ss:SequenceSplitter ID="sequenceLoader_" runat="server">
                <SequenceSplits>
                    <ss:SplitItem AssociatedUpdatePanelID="UpdatePanel1" AssociatedUpdateProgressID="up1"
                        PriorityOrder="Primary" OnItemSequenced="OnLoader1Click" />
                    <ss:AsyncSplitItem AssociatedUpdatePanelID="UpdatePanel2" AssociatedUpdateProgressID="up2"
                        PriorityOrder="Secondary" OnItemSequenced="OnLoader2Click" />
                    <ss:AsyncSplitItem AssociatedUpdatePanelID="UpdatePanel3" AssociatedUpdateProgressID="up3"
                        PriorityOrder="secondary" OnItemSequenced="OnLoader3Click" />
                    <ss:AsyncSplitItem AssociatedUpdatePanelID="UpdatePanel4" AssociatedUpdateProgressID="up4"
                        PriorityOrder="tertiary" OnItemSequenced="OnLoader4Click" />
                    <ss:AsyncSplitItem AssociatedUpdatePanelID="UpdatePanel5" AssociatedUpdateProgressID="up5"
                        PriorityOrder="tertiary" OnItemSequenced="OnLoader5Click" />
                    <ss:SplitItem AssociatedUpdatePanelID="UpdatePanel6"
                        PriorityOrder="tertiary" OnItemSequenced="OnLoader6Click" />
                </SequenceSplits>
            </ss:SequenceSplitter>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up1" runat="server" Visible="true" AssociatedUpdatePanelID="UpdatePanel1">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label1" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton1" runat="server" Text="Loader" OnClick="OnLoader1Click" />
                </ContentTemplate>
            </asp:UpdatePanel>
            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up2" runat="server" AssociatedUpdatePanelID="UpdatePanel2"
                        Visible="true">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label2" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton2" runat="server" Text="Loader" OnClick="OnLoader2Click" />
                </ContentTemplate>
            </asp:UpdatePanel>
            &nbsp;
            <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up3" runat="server" AssociatedUpdatePanelID="UpdatePanel3"
                        Visible="true">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label3" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton3" runat="server" Text="Loader" OnClick="OnLoader3Click" />
                </ContentTemplate>
            </asp:UpdatePanel>
            <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up4" runat="server" AssociatedUpdatePanelID="UpdatePanel4"
                        Visible="true">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label4" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton4" runat="server" OnClick="OnLoader4Click" Text="Loader" />
                </ContentTemplate>
            </asp:UpdatePanel>
            &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
            <asp:UpdatePanel ID="UpdatePanel5" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up5" runat="server" AssociatedUpdatePanelID="UpdatePanel5"
                        Visible="true">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label5" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton5" runat="server" OnClick="OnLoader5Click" Text="Loader" />
                </ContentTemplate>
            </asp:UpdatePanel>            &nbsp;
            <asp:UpdatePanel ID="UpdatePanel6" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:UpdateProgress ID="up6" runat="server" AssociatedUpdatePanelID="UpdatePanel6"
                        Visible="true">
                        <ProgressTemplate>
                            <img alt="Loading..." src="images/LoadingIndicator.gif" />
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                    <asp:Label ID="label6" runat="server" Text="InitailValue"></asp:Label>
                    <asp:Button ID="loaderButton6" runat="server" OnClick="OnLoader6Click" Text="Loader" />
                </ContentTemplate>
            </asp:UpdatePanel>
            <asp:UpdatePanel ID="SampleUpdatePanel5" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Button ID="sampleButton" runat="server" Text="SampleContentInthePage" OnClick="sampleButton_Click" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
</body>
</html>
